<!DOCTYPE html>
<html style="font-size: 23.4375px;">
<head>
    <include file="./public/header.html"/>
<body style="font-size: 21.7589px;">
<div id="app">
    <div id="shadow" style="display: none;"></div>
    <header class="top"><span style="display: none;">加载中...</span> <span>玩家信息</span> <!---->
        <a href="javascript:history.go(-1);" class="iconfont back"></a>
        <a href="./playHome.html" class="iconfont back on" style="display: none;"></a> </header>

    <div data-v-e13e3ccc="" class="main playerHome" s="[object Object]">

        <div data-v-e13e3ccc="" class="playerHomeHead">
            <div data-v-e13e3ccc="" class="playerHeadImg">
                <img data-v-e13e3ccc="" src="{$avatar}" alt="">
            </div>
        </div>
        <div data-v-e13e3ccc="" class="playerInfo">
            <input type="hidden" value="{$accounts}" id="zhanghao">
            <h1 data-v-e13e3ccc=""><?php if($nickname==''){echo '昵称未设置';}else{echo $nickname;} ?></h1>
            <h2 data-v-e13e3ccc="">账号:<span class="zhanghao1"></span>****<span class="zhanghao2"></span></h2>
            <span data-v-e13e3ccc="">性别:{$sex}</span>
            <p data-v-e13e3ccc="">头衔：<em data-v-e13e3ccc="">{$zhiw}</em>
                               累计中奖：<i data-v-e13e3ccc="">{$total}</i>
            </p>
            <ins data-v-e13e3ccc="">{$touxie}</ins>
        </div>
        <div data-v-e13e3ccc="" class="cardIcon"><p data-v-e13e3ccc="">Ta喜欢的彩票</p>
            <ul data-v-e13e3ccc="" class="cardIconList fix">

                <li data-v-e13e3ccc="">
                    <a data-v-e13e3ccc="" href="{:U('Lottery/cqssc')}">
                        <i data-v-e13e3ccc="" class="iconfont textSSC noActive" data-ssc="{$cai_wan[1]}" ></i>
                    </a>
                </li>
                <li data-v-e13e3ccc="">
                    <a data-v-e13e3ccc="" href="{:U('Lottery/beijing')}">
                       <i data-v-e13e3ccc="" class="iconfont textK3 noActive" data-k3="{$cai_wan[2]}"></i>
                    </a>
                </li>
                <li data-v-e13e3ccc="">
                    <a data-v-e13e3ccc="" href="{:U('Lottery/pk10')}">
                        <i data-v-e13e3ccc="" class="iconfont textXYNC noActive" data-pk10="{$cai_wan[3]}"></i>
                    </a>
                </li>

                <li data-v-e13e3ccc="">
                    <a data-v-e13e3ccc="" href="{:U('Lottery/kl8')}">
                        <i data-v-e13e3ccc="" class="iconfont textKL8 noActive" data-kl8="{$cai_wan[4]}"></i>
                    </a>
                </li>
                <li data-v-e13e3ccc="">
                    <a data-v-e13e3ccc="" href="{:U('Lottery/gdx5')}">
                        <i data-v-e13e3ccc="" class="iconfont textSYX5 noActive" data-11x5="{$cai_wan[7]}"></i>
                    </a>
                </li>
            </ul>
        </div>
    </div>
</div>
</body>
</html>
<script>
    var zhanghao = $("#zhanghao").val();
    var aaa = zhanghao.substring(0,2);
    $(".zhanghao1").html(aaa);
    var bbb = zhanghao.substr(zhanghao.length-1);
    $(".zhanghao2").html(bbb);

    var ssc = $(".textSSC").data("ssc");
    var k3 = $(".textK3").data("k3");
    var pk10 = $(".textXYNC").data("pk10");
    var kl8 = $(".textKL8").data("kl8");
    var x5 = $(".textSYX5").data("11x5");

    if(ssc==1){
        $(".textSSC").removeClass("noActive");
    }else{
        $(".textSSC").addClass("noActive");
    }
    if(k3==1){
        $(".textK3").removeClass("noActive");
    }else{
        $(".textK3").addClass("noActive");
    }
    if(pk10==1){
        $(".textXYNC").removeClass("noActive");
    }else{
        $(".textXYNC").addClass("noActive");
    }
    if(kl8==1){
        $(".textKL8").removeClass("noActive");
    }else{
        $(".textKL8").addClass("noActive");
    }
    if(x5==1){
        $(".textSYX5").removeClass("noActive");
    }else{
        $(".textSYX5").addClass("noActive");
    }

</script>